package com.xzssmk.leisure.x.service;

import java.util.List;
import java.util.Map;

import com.xzssmk.leisure.x.po.ScenicSpot;
import com.xzssmk.leisure.x.po.SelectModel;
import com.xzssmk.leisure.x.util.DataTables;

public interface ScenicSpotService {

    Map<String, Object> add(ScenicSpot scenicSpot);

    Map<String, Object> delete(List<Integer> idlist);

    Map<String, Object> update(ScenicSpot scenicSpot);

    DataTables getPageList(DataTables dataTables);

    DataTables getUserPageList(DataTables dataTables);

    ScenicSpot getById(Integer id);

    List<SelectModel> getSelectList();

    ScenicSpot login(String loginname, String loginpassword);
}
